Down-casts the cell value to specified type.
Namespace: com.mindfusion.spreadsheet
Package: com.mindfusion.spreadsheet
Java
![]() |
---|
public <T> T valueAs ( |
A Class instance specifying the target type.
The cell value cast to specified type, or null if it's of a different type.
Syntax sugar for a slightly shorter type checking and casting.
Java
![]() |
---|
double total = 0; |
JSpreadsheet Programmer's Guide | © 2025 MindFusion |